#ifndef REMINDEDIT_H
#define REMINDEDIT_H

#include <QDialog>
#include "QDate"
#include "remind.h"
namespace Ui {
class RemindEdit;
}

class RemindEdit : public QDialog
{
    Q_OBJECT

public:
    explicit RemindEdit(QWidget *parent = nullptr);
    void update(Remind remind);
    ~RemindEdit();
signals:
    void cancel();
    void confirm(long amount,QDate date);
private:
    Ui::RemindEdit *ui;
};

#endif // REMINDEDIT_H
